﻿cmake_minimum_required(VERSION 3.20)

project(T10Graphics)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)

# if(WIN32)
#   set(CMAKE_WIN32_EXECUTABLE ON)
# endif()

find_package(Qt5 REQUIRED COMPONENTS widgets gui printsupport)
add_executable("${PROJECT_NAME}" MyWidget.cpp MyWidget.h)
target_link_libraries("${PROJECT_NAME}" Qt5::Widgets  Qt5::Gui Qt5::PrintSupport)